
module moduloC {
  provides interface interfazPRB;
  uses {
    interface interfaz2;
    interface Leds;
  }
}

implementation {
  
  command void interfazPRB.comando1() {

    call Leds.led0Toggle();
    call Leds.led1Toggle();
    call Leds.led2Toggle();

  }

  command int interfazPRB.comando2(int c) {

    call Leds.set((uint8_t)c);
    return 0;
  }

}
